<?php // phpinfo();?>
<?=$this->form ( $this->element->getName (), $this->element->getAttribs (), false ); ?>
<?php
    if (! $this->element->isStatic ()) :
	    echo $this->renderElement ( $this->element->codusuario );
	    echo $this->renderElement ( $this->element->estadocna );
	    echo $this->renderElement ( $this->element->sacescna );
	endif;
?>
<table width="60%"  align="center">
	<tr>
		<td valign="top" width="47%">
		<table width="95%" align="center" class="iceDatTbl zebra">
			<thead>
				<tr>
					<th colspan="2">Informaci&oacute;n general</th>
				</tr>
			</thead>
			<tr>
				<th width="30%" ><?php
				echo $this->element->cedula->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->cedula );
				echo $this->element->cedula->renderErrors ();
				
				echo $this->renderElement ( $this->element->tipodocumento );
				echo $this->element->tipodocumento->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php
				echo $this->element->nombres->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->nombres );
				echo $this->element->nombres->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php
				echo $this->element->apellidos->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->apellidos );
				echo $this->element->apellidos->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php
				echo $this->element->genero->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->genero );
				echo $this->element->genero->renderErrors ();
				?></td>
			</tr>
		</table>
	<br />
	<table width="95%" align="center" class="iceDatTbl zebra">
		<thead>
		<tr>
			<th colspan="2">Direcciones</th>
		</tr>
		</thead>
		<tr>
			<th width="30%"><?php
			echo $this->element->direccionresidencia->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->direccionresidencia );
			echo $this->element->direccionresidencia->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->ubicacion->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->ubicacion );
			echo $this->renderElement ( $this->element->codubicacion );
			echo $this->element->ubicacion->renderErrors ();
			echo $this->element->codubicacion->renderErrors ();
			?></td>
		</tr>
	</table>
	<br />
	<table width="95%" align="center" class="iceDatTbl zebra">
		<thead>
		<tr>
			<th colspan="2">Correo electr&oacute;nico</th>
		</tr>
		</thead>
		<tr>
			<th width="30%"><?php
			echo $this->element->emailexterno->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->emailexterno );
			echo $this->element->emailexterno->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->emailalterno->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->emailalterno );
			echo $this->element->emailalterno->renderErrors ();
			?></td>
		</tr>
	</table>
	<br />
	<table width="95%" align="center" class="iceDatTbl zebra">
		<thead>
		<tr>
			<th colspan="2">Tel&eacute;fonos - Fax</th>
		</tr>
		</thead>
		<tr>
			<th width="30%"><?php
			echo $this->element->telefonocelular->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->telefonocelular );
			echo $this->element->telefonocelular->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->telefonoresidencia->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->telefonoresidencia );
			echo $this->element->telefonoresidencia->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->telefonotrabajo->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->telefonotrabajo );
			echo $this->element->telefonotrabajo->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->fax->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->fax );
			echo $this->element->fax->renderErrors ();
			?></td>
		</tr>
		<thead>
		<tr>
			<th colspan="2"><?php
//			echo $this->renderElement ( $this->element->imgvalidation );
			echo $this->element->imgvalidation;
//			echo $this->element->imgvalidation->renderErrors ();
			?></th>
		</tr>
        <tr>
    		<th colspan="2"><?php echo $this->renderElement ( $this->element->btnSubmit ); ?> </th>
    	</tr>
    	</thead>
    </table>
  </td>
  </tr>
 </table>
</form>
<?php
    $sesionImagen = new Zend_Session_Namespace("IMAGEN");
    $sesionImagen->file = $this->element->imgvalidation->getvalue().".png";
?>